package com.caimiao.miao.page.master.system.server;

import com.caimiao.miao.interfaces.IBaseActView;
import com.caimiao.miao.interfaces.IBaseModel;
import com.caimiao.miao.interfaces.IBasePresenter;

import io.reactivex.Observable;

public interface IServerContact {
    interface View extends IBaseActView<Presenter> {
        void setUrl(String url);

        String getUrl();
    }

    interface Presenter extends IBasePresenter {
        void save(String url);
    }

    interface Model extends IBaseModel {
        String getBaseUrl();

        Observable<Boolean> save(String url);
    }
}
